home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-24 | 1.5 KB | 54 lines | [TEXT/TCEd] |
- #
- # PreditorStartup
- # ToolServer script for Preditor 3
- #
- # © Copyright Evatac Software 1988-1994
- # All rights reserved
- #
- # This script is invoked by Preditor when it establishes the ToolServer
- # connection. It should reside in the same folder as ToolServer.
- #
-
- # The commands in this section MUST NOT BE ALTERED, or the link between
- # Preditor and ToolServer will not function correctly.
-
- Export PreditorNBPObj
- Export PreditorNBPType
- Export PreditorNBPZone
- Export PreditorPPCPortName
- Export PreditorPPCClientName
- Export PreditorIsRemote
- Export PreditorExists
-
- unalias File
-
- if `Exists "{MPW}"Scripts:Preditor•File` == ""
- echo '### The "File" command may not work properly, because the'
- echo '### "Preditor•File" script is missing from your Scripts folder.'
- echo
- echo '### Also make sure that you have installed the custom "Preditor•Line"'
- echo '### script in your Scripts folder.'
-
- alias File Target
- else
- alias File '"{MPW}"Scripts:Preditor•File'
- alias Line '"{MPW}"Scripts:Preditor•Line'
- end
-
- if `Exists "{MPW}"Tools:RPreditor` == ""
- echo
- echo '### The "RPreditor" tool is missing from your Tools folder.'
- echo '### Until you install it, the File and Line commands will'
- echo '### not work.'
- echo
- echo '### Also make sure that you install the custom Preditor•File and Preditor•Line'
- echo '### scripts in your Scripts folder'
- end
-
- For __Startup__i in `(Files "{ShellDirectory}"PreditorStartup•≈ || Set Status 0) ≥ dev:null`
- Execute "{__Startup__i}"
- End
- Unset __Startup__i
-
- #############################################################################
-